<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>优惠列表</title>
    <link rel="stylesheet" href="/layui/css/layui.css">
    <link rel="stylesheet" href="/css/coupon/coupon-list.css">
    <script src="/layui/layui.js"></script>
    <script src="/js/coupon/coupon-list.js"></script>
</head>
<body>
<div id="box" style="width: 99%;margin: 0 auto">
    <div class="layui-row" >
        <div class="layui-elem-quote">
            <span style="font-size: 18px">优惠券列表</span>
            <span style="float: right;">
                    <button class="layui-btn" id="shuaxin"><i class="layui-icon layui-icon-refresh"></i>刷新</button>
                    <button class="layui-btn" onclick="goBack()"><i class="layui-icon layui-icon-left"></i>返回</button>
            </span>
        </div>
    </div>
    <div class="layui-row" style="margin-bottom: 30px;">
        <div class="layui-card">
            <div class="layui-card-header">
                <h3 style="float: left"><i class="layui-icon layui-icon-search"></i>筛选查询</h3>
                <button id="jiansuo" class="layui-btn" style="float:right">高级检索</button>
            </div>
            <div class="layui-card-body">
                <form class="layui-form">
                    <div class="layui-form-item col-sm-8 col-md-8 col-lg-8">
                        <div class="layui-inline col-sm-4 col-md-4 col-lg-4">
                            <label class="layui-form-label">优惠券名称:</label>
                            <div class="layui-input-inline">
                                <input class="layui-input" type="text" placeholder="请输入优惠名称" name="couponName" id="couponName">
                            </div>
                        </div>
                        <div class="layui-inline col-sm-4 col-md-4 col-lg-4">
                            <label class="layui-form-label">发放方式:</label>
                            <div class="layui-input-inline">
                                <select name="grant" lay-verify="grant" id="grant">
                                    <option value="">请选择发放状态</option>
                                    <option value="2">自动发放</option>
                                    <option value="3">活动领取</option>
                                    <option value="4">人共发放</option>
                                    <option value="5">无限制</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline col-sm-4 col-md-4 col-lg-4">
                            <label class="layui-form-label">优惠券状态:</label>
                            <div class="layui-input-inline">
                                <select name="online" lay-verify="online" id="online">
                                    <option value="">请选择优惠券状态</option>
                                    <option value="2">上架</option>
                                    <option value="3">下架</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline col-sm-2 col-md-2 col-lg-2" style="float: right; margin-right: 0px;">
                            <button class="layui-btn" type="button" id="sousuo"><i class="layui-icon layui-icon-search"></i>搜索</button>
                            <button class="layui-btn layui-btn-danger" type="reset" id="chongzhi"><i class="layui-icon layui-icon-refresh"></i>重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <div id="box-body-head" style="margin: 10px auto;">
        <table class="layui-table" id="root"></table>
    </div>

    <div id="lefttool" class="layui-hide">
        <p class="layui-icon" style="float:left;">&#xe60a; 数据列表</p>
    </div>
</div>
</body>
</html>